package com.seth.myapplication.bean;

import java.io.File;
import java.io.Serializable;
import java.text.SimpleDateFormat;

/**
 * Created by Seth on 2017/10/20.
 */

public class Rewords implements Serializable {
    private static Rewords sRewords=null;

    private Integer rewordId;
    private int usrId;
    private String usrPhone;

    private String taskTitle;
    private String taskContent;
    private int taskType = 5;
    private int taskStatus=0;

    private File taskImg1Url = null;
    private File taskImg2Url = null;
    private File taskImg3Url = null;
    private File taskImg4Url = null;

    private int isBuyInsurance=0;
    private String taskDeadTime;
    private double price;
    private int geterId;
    private User seter = null;
    private User geter = null;

    public static Rewords getRewords(){
        if(sRewords == null)
            sRewords = new Rewords();
        return sRewords;
    }

    public void setRewords(Rewords rewords){
        sRewords = rewords;
    }

    public static Rewords deffautReword(){
        Rewords rewords = new Rewords();
        rewords.setRewordId(0000);
        rewords.setUsrPhone("18868217689");

        return  rewords;
    }

    public int getUsrId() {
        return usrId;
    }

    public void setUsrId(int usrId) {
        this.usrId = usrId;
    }

    public Rewords(){
        taskImg1Url = null;
        taskImg2Url = null;
        taskImg3Url = null;
        taskImg4Url = null;

        isBuyInsurance = 0;
    }

    public String getTaskContent() {
        return taskContent;
    }

    public void setTaskContent(String taskContent) {
        this.taskContent = taskContent;
    }

    public int getRewordId() {
        return rewordId;
    }

    public void setRewordId(int rewordId) {
        this.rewordId = rewordId;
    }

    public String getUsrPhone() {
        return usrPhone;
    }

    public void setUsrPhone(String usrPhone) {
        this.usrPhone = usrPhone;
    }

    public String getTaskTitle() {
        return taskTitle;
    }

    public void setTaskTitle(String taskTitle) {
        this.taskTitle = taskTitle;
    }

    public int getTaskType() {
        return taskType;
    }

    public void setTaskType(int taskType) {
        this.taskType = taskType;
    }

    public File getTaskImg1Url() {
        return taskImg1Url;
    }

    public void setTaskImg1Url(File taskImg1Url) {
        this.taskImg1Url = taskImg1Url;
    }

    public File getTaskImg2Url() {
        return taskImg2Url;
    }

    public void setTaskImg2Url(File taskImg2Url) {
        this.taskImg2Url = taskImg2Url;
    }

    public File getTaskImg3Url() {
        return taskImg3Url;
    }

    public void setTaskImg3Url(File taskImg3Url) {
        this.taskImg3Url = taskImg3Url;
    }

    public File getTaskImg4Url() {
        return taskImg4Url;
    }

    public void setTaskImg4Url(File taskImg4Url) {
        this.taskImg4Url = taskImg4Url;
    }

    public int isBuyInsurance() {
        return isBuyInsurance;
    }

    public void setBuyInsurance(int buyInsurance) {
        isBuyInsurance = buyInsurance;
    }

    public String getTaskDeadTime() {
        return taskDeadTime;
    }

    public void setTaskDeadTime(String taskDeadTime) {
        this.taskDeadTime = taskDeadTime;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getGeterId() {
        return geterId;
    }

    public void setGeterId(int geterId) {
        this.geterId = geterId;
    }

    public User getGeter() {
        return geter;
    }

    public void setGeter(User geter) {
        this.geter = geter;
    }

    public User getSeter() {
        return seter;
    }

    public void setSeter(User seter) {
        this.seter = seter;
    }

}
